package com.alibaba.citrus.ots.sales.plan.api.setting;

import com.alibaba.citrus.ots.sales.plan.sdo.SalesPlanStrategySDO;
import com.alibaba.lattice2.epoch.sdk.model.Result;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;

@MeshFlowService(apps = {"bc_ots"}, name = "PlanStrategyWriteService")
public interface SalesPlanStrategyWriteService {

    /**
     *创建计划策略
     */
    Result<String> createPlanStrategy(SalesPlanStrategySDO planStrategySDO);

    /**
     * 修改策略状态
     */
    Result<Integer> editSalesPlanStrategy(SalesPlanStrategySDO salesPlanStrategySDO) ;
}
